package com.mybatistest.mapper;

import com.mybatistest.pojo.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    public List<User> list(Integer id);

    public User SelectUserItem(Integer id);

    @Delete("delete from user where id=#{id}")
    public void delete(Integer id);
}
